Could you provide some more details about that problem? What are you trying to remove? What is the parent (I assume the viewport itself)?
Does the widget in question try to get the player controller? Maybe the default player controller class is set in one game mode, but not in another.
If you could provide more details (a few screenshots would be nice, too), we might be able to help.