Resize window, but still weird issues when border width is over 20