Fixed: if orderOut: was not called for a popover, it would not detach from its parent

When a transient popover was closed by clicking, in some cases it would not detach from its parent, leaving it in the window list. This caused problems later on.

This commit ensures the popover is detached from its parent when it is ordered out.