view: minimap is not set by default - so guard against it not being set

(integrated from trunk branch change eed49e0 by Todd Whiteman <toddw@activestate.com>)