Fix drawMarkers bug