Fixed view error on mobile devices