aspect ratio correction and compatibility with current OBS master