Fix preview windows covering the main window
by unsetting Part::widget() as their parent.
Differential Revision: D1408