Sign in screen moves out of the box

I have an issue with the sign in box while logging in to perspective.
After typing in username and pressing continue, the box content moves slightly out of the box.
Happens almost every time, with different variations. This is how it looks like: