fix full screen bug