Corrected an issue where the media events handler was not allowing the machine to process media events as it was not checking for it.