Don't crash when trying to hide an uninitialised map

Happens when clicking Preview directly from Code.

100% untested ...