Auto Camera bug

In the middle of a fight in melee my camera suddenly locked into auto camera for some reason.
I couldn’t move the camera anymore. When my hero died, the camera somehow worked again.
What’s up with that?

hotkey to toggle this is either ctrl+c or ctrl+shift+c