Fix spine animation listener for web.