Fix edge-case when source rect has 0 width/height

Nothing would get rendered when the source rectangle had a width or
height of zero, whereas XNA does render something.