For me it's set to the + numpad key, it's also like that in the code but perhaps your enter is recognized as that too.
Currently, there's a debug setting set to the + numpad key to open your settings menu. You get this result because this method isn't meant to be used at all outside of testing.
It has lost its purpose now so we can safely remove it (which will also fix this issue).
This bug only happens if you're in a ship, build block or anything that can be entered. Pressing it 4 times and then leaving the entered block, will detach your camera from the astronaut.