bug fix with setting active map and being able to deselect it