Fix rotation of entities. Camera reverses direction after crossing axes