Fix landscape resizing issue