Fix apparent bugs

Hi Shawn

I fixed some apparent bugs on CastVideos-chrome.
Can you review and merge it?