Fixed bug on login page where the app would crash when going to snapped view.