Add check if pspace viewport is active.
A drawing with multiple layouts will have multiple pspace viewports - but only 1 will be active.
Authored by: ekarlo 2004-05-12
Parent: [r513]
Child: [r515]