Some fixes for full-screen clients (partial fix for issue #78).