fix resize issue with full screen button