Resize window after font size