Fix minimizing of toolbox windows when images are loaded

Dynamically changing the window parent (obviously) prevents VB from
doing this automatically...