Fix full screen functionality for 10.6
Reported by Nathaniel Cunningham