If you delete a group of blocks, then restore them by Ctrl + Z. Sometimes the blocks are not pressed and are not painted.