Fixed resolution bug with full screen mode