Development

Minor refactoring of calculation of result rect for drawing sprite.