This patch implements aspect ratio correction for mask inputs if the size mode is set to Render Size.