Fixed issue with tabs and media object