Fixed clipbox to rep changes in other parts of code