Add explicit check that the tile edit window isn't open to on_mouse_changed in the main map window