Fix line update rounding error