The problem only occurs while in Vanish. I have another plugin that can rotate deployables like (chairs). If I rotate a chair while in Vanish, it auto mounts me to the chair. My other plugin uses R (reload) button to rotate entities. When I am not in Vanish, it works fine. I have commented out this part of your code and it seemed to have fixed the issue. Not quite sure what is going on.

Under your FixedUpdate() function

 //  if (component)
//   {
//       component.AttemptMount(player, true);
//    }

I also noticed you are checking for BUTTON.RELOAD was just released as well

if (!player.serverInput.WasJustReleased(BUTTON.RELOAD)) return;

I tried commenting out just that line above, still had the issue though.