Fixed #122: a bug wrongly rendering invisible items after updating them.