Some script has modified the z of the player. It is best to reset the z value at login, do player.z = -51 or so because only values between -50 and +170 are allowed, everything else resets it to the default behaviour where the z is matching the terrain height.