If window is not resizable, do not maximize it at the default resolution (1024x768) to keep the border intact.