Fix BuildUp painting mode for masks and selection-based layers
When rendering dabs we should use correct pixel size :)
BUG:394438