bugfix: division by zero can cause malformed primitives
Testcase and fix for a problem transforming an empty bbox with very small numbers in a transformation matrix