Changes window height and width to better fit.