Blank task bar icons in Win98se

Since reinstalling my Windows 98se system recently (and applying all the MS site updates) I find when I close an activity, its icon disappears from the box in the task bar but the box remains until I click on it when it vanishes. Annoying and untidy rather than system-threatening but I would like to correct it.