If you have pressed "tab"(the view shadow key) and enabled "view shadow mode" and the shadow dies while you are in this mode , the camera does not return to you automatically. You have to press "tab" again to change it back. Maybe you could fix that.
Hello anpaspat and thank you for making this bug report. I haven't thought of this and it's fixed now in SVN r242. This made the gameplay a little more logical.