Keep aspect ratio when resizing window.