Stop relying on float division in sanpera.geometry.Size.

In some cases, where x and y are both ints, int(x/(x/y)) != y. It's easier to not rely on this at all and use the original dimensions when possible.

The code might be able to be simplified a bit more, but this seems good enough to me.