Fix login button freak-out during orientation change