Fix media element parent div targeting