Fixed bug #7954: XCLASSing ToolbarItem does not work