For this to work btw, you need to have the eraser tool selected.
Better yet, in order to avoid problems such as that:
Use the eraser all the time to have that:
some images i made for my paper titled “How to create artwork in Microsoft Paint with greater skill than that of your 12-year-old self”