set the left and top of the rect as well.
Merge pull request #1 from richmulhern/master

Set top and left on to()