Added UseCenterAsOrigin collision support

Added collision detection in Sprite class accounting for
UseCenterAsOrigin