Solved clipping problem

However it is quite lag and may have bug, will continue to improve on it