Fixed incorrect rect conversion
Fixed another incorrect rect conversion
Merge pull request #163 from antonholmquist/original

Fixed incorrect rect conversion