Fixing image FromStream regression