Bug fix: can not click HTML elements after map.clear()