fixed final image size for sprites with repetition
Merge pull request #3 from crudo/c-sprite-size

Fixed final image size for sprites with repetition