fix overlay box when no full screen