simplify menuBar rendering, make the menuBar element also be a contentpane