1659: 3dconnexion space navigator moves view even when FreeCAD is not the active application

Check whether the freecad window is active before relaying the space navigator events.