OK, so I determined the ugly background is only seen in the Nimbus theme shipped with JOSM. Other 3 themes seem OK.