So, I'm updating players position with the following code, so I can limit it's velocity.
position += (get_global_mouse_position() - position).normalized() * 30
But when the mouse is over the player, but, mininal or no movement are made at all, it starts shaking up and down as you can see in the gif bellow.

So, if someone could help me understand why this is happening and how to fix it, it would be very nice.