Fixed some errors around the MediaPlayerHandler Listener