fix infinite loop in getBounds and setMaxBounds, close #1895, close #1866
fix infinite loop in getBounds and setMaxBounds, close #1895, close #1866

scaddenp/Leaflet,stefanocudini/Leaflet,akrzyzanowskino/TeamSE,iZucken/Leaflet,davojta/Leaflet,stefanocudini/Leaflet,stefanocudini/Leaflet,jasonoverland/Leaflet,rlugojr/Leaflet,AP-whitehat/Leaflet,msiadak/Leaflet,geoloep/Leaflet,CapeSepias/Leaflet,Neorth/Leaflet,geoloep/Leaflet,Trufi/Leaflet,msiadak/Leaflet,Leaflet/Leaflet,brah/Leaflet,iZucken/Leaflet,davojta/Leaflet,Ubisense/Leaflet,Trufi/Leaflet,iOffice/Leaflet,codeator/Leaflet,brah/Leaflet,iZucken/Leaflet,tsantacruz/RotationalMarker,Ubisense/Leaflet,AP-whitehat/Leaflet,AP-whitehat/Leaflet,sisou/Leaflet,Neorth/Leaflet,geoloep/Leaflet,codeator/Leaflet,rlugojr/Leaflet,davojta/Leaflet,frogcat/Leaflet,iOffice/Leaflet,CapeSepias/Leaflet,brah/Leaflet,jasonoverland/Leaflet,sisou/Leaflet,jasonoverland/Leaflet,sisou/Leaflet,CapeSepias/Leaflet,frogcat/Leaflet,Leaflet/Leaflet,Trufi/Leaflet,codeator/Leaflet,frogcat/Leaflet,akrzyzanowskino/TeamSE,iOffice/Leaflet,rlugojr/Leaflet,tsantacruz/RotationalMarker,Leaflet/Leaflet,Neorth/Leaflet,tsantacruz/RotationalMarker,scaddenp/Leaflet,akrzyzanowskino/TeamSE,Ubisense/Leaflet,scaddenp/Leaflet,msiadak/Leaflet