Added clipping surface to the input to fit to the background surface