Fix ratio problem in non square views
Merge pull request #8 from morteza2128/master

Fix ratio problem in non square views