Fix aspect ratio in resize filter with multi consumer.