The problem was caused by using player.ChangeView function call with first player character's normal view ID as parameter. Function call was made in on_mouse_click-function, when left mouse key was clicked. By checking player character's id and calling player.ChangeView with that character's normal view ID solved the whole problem.