Fix aspect ratio logic
Merge pull request #12 from artnez/fix-aspect-ratio

Fix aspect ratio logic