Fix eraser radius calculation