Fixed weird movement of font pane