Fix broken login on small screens