Skeletal Mesh moves with the camera movement

In your pawn class if you are writing in C++ set bUseControllerRotationPitch to false
else if you are writing it using blueprints untick UseControllerRotationPitch.