Unselect component when figure is clicked outside the rocket

When the figure panel is clicked outside of the rocket clear the current selection.
Request was to do this in the 3D view, this change also does it in the 2D view, which came for free.