Fixed an assumed rounding error that caused clipping to fail rarely.