Selecting pixels on a large canvas

When subtracting pixels within a selection, for some reason pixels outside the selection are also processed, I’m working on a large 10 by 4 canvas, and this causes lags
Laggy

this is normal intended behaviour to my knowladge, but maybe it could be optimized @dacap, is this a complained issue on github?