Removed addmediawindow