fixes drawer flicker on on/off

If you happen to move the map between having turned off and back on the
regions layer the drawer flickers. This patch fixes that.