Make sure outputElment exists in media widget after render is called