Updated to work with new rect api.
Parameter fix.
Not sure why those were bottom and right, think I was testing something! :)
Merge pull request #2 from richmulhern/master

Changes to match new Rect API