Game freezing when in freelook or when trying to switch cameras

I’ve been having issues using freelook when I hold c my game freezes until I let go and the same for switching cameras in aircraft. It’s very inconsistent, it doesn’t happen every game only about 30% of them but it is very annoying. Other than the freeze I run the game at a solid 144 fps.