[qt5] render menu background in drawPrimitive instead of eventFilter