Merge pull request #168 from mlin6436/master

Make sure outputElment exists in media widget after render is called