Displaying a plugin editor in a CalloutBox

As the title says, I’m trying to display a plugin editor inside a CalloutBox.
Everythings works fine if the CalloutBox’s parentComponent isn’t 0, but when I set the CalloutBox to be added to the Desktop (giving it 0 as parentComponent), the content component isn’t displayed anymore.
Has anyone ever done this before?