qt: Fix crash when switching to fullscreen with video undocked