Better logic in GuiObserver to update the cursor dock, if available.

Authored by asemke on Feb 7 2020, 8:23 PM.