Fix add/remove cycling

In order for the mini-map layer to be added to the mini-map,
which is recreated each time onAdd is called, it needs to be
removed from the previous mini-map in onRemove.