Fixed: custom styles added with styleSet.add() are displayed in wrong order.