fix zoom in too deep (svg coordinate too large) crash problem