Refracted and improved clipping problem