fix crash @ session-restore of plugins windows

The question is: why is _owner not set [yet], when the
window is restored. This rather smells like a race condition.