Fix too large overdraw for pane switcher