Fix aspect-ratio issue in OSD library