Fix landscape resize issue