Fix redraw of the minimap
When function items are highlighted, a HighlightRectItem is added to them. The last part of the animation involves hiding them, then finally removing them. The removal doesn't cause a redraw, so make that they are not drawn when are hidden.