Fixed mutlimedia in tabs by resolving event conflicts (#4571)