update rectangle after setting origin
Merge pull request #185 from spilgames/#183-origin-bounding-box-issue

update rectangle after setting origin