Fixed Exception when viewport size is exactly equal to padding.

This should fix issue #100.

The problem here is, that when the viewport size is exactly equal to the overall padding sx and/or sy are computed to zero and the resulting AffineTransform in the Backend will become uninvertable.