Fix map layer redraws

when you hid a layer via the checkbox it was redrawing the layer
next time the datasource ticked.