cocoa: improved group rendering, fixed pinned groups