Improved image offset support with regards to sprite wrapping.