Fix bug with legacy code referring to chromecast.