Fix bug in exr-flat sample