Added some things for fullscreen compitability.