I've seen this with casting from PC's too. When you are casting from an enabled app or service (like YouTube, Netflix, Prime Video, etc.) the media stream is going directly to the device and is only controlled by your tablet. However when you are casting the home screen, all video is transmitted over the WiFi connection so if you have a slow or busy connection, you can see this sort of thing. There may not be cure for it, unfortunately.