Check infinity in setCoords() if object has zero width
Merge pull request #620 from Kienz/patch-1

Check infinity in setCoords() if object has zero width