         ReacquireCameraYawPitch();
     }
 
-    else if (key == KEY_NUMPAD3) // Side view
+    else if (key == KEY_NUMPAD3 && ui.focusElement is null) // Side view
     {
         Vector3 pos = cameraNode.position;
         pos.x = pos.length * viewDirection;

    else if (key == KEY_F4)
        ToggleOctreeDebug();

    else if (key == KEY_NUMPAD1) // Front view
    {
        Vector3 pos = cameraNode.position;
        pos.z = -pos.length * viewDirection;

        ReacquireCameraYawPitch();
    }

    else if (key == KEY_NUMPAD7 && ui.focusElement is null) // Top view
    {
        Vector3 pos = cameraNode.position;
        pos.y = pos.length * viewDirection;
