Fixed #197: items in groups sometimes being displayed but not positioned correctly.