Bug fix in landscape view