Fix ratio when width < height.
Merge pull request #10 from hdemers/fix-projection

Fix ratio when width < height.