fix _leafletLayer and enable use of double and single click