is this line really necessary? if the message is already deleted we don't need to repaint, right?