prevents origin point goes infinite by dividing center by 0

fix to the issue https://github.com/Leaflet/Leaflet/issues/2519. I don't expect it to be a permanent fix but hope it gives some idea.

<!---
@huboard:{"milestone_order":2236.5}
-->