Fixed issue with media events not being sent
Fixed error when trying to close on Samsung platform