Fixed a bug in refraction closure. Updated test ref image.