Use round to fix clipping area calculation