Fix full-screen bug introduced in 96a6342f30736900081e9944265d8749fde77d39.