Avoid some unnecessary computation in smooth rendering.