Fix aspect ratio for custom video mode.