Fix aspect ratio logic

sup @rafikk