deselect by clicking outside map