Accepted answer

Looks like the SVG element you created overflows the Leaflet icon.

Simply setting overflow: hidden CSS rule on your icon class seems to solve your issue.

.mycluster {
  overflow: hidden;

Updated JSFiddle:

Note: question also posted on Leaflet.markercluser GitHub page as issue #677.

Related Query

More Query from same tag