Works, but with side effects.
This mod stops the crash when attempting to cast from the YouTube app.
However when not casting it has the nasty side effect of causing the soft key bar to remain visible* when going full screen, occluding part of the playing video.
*The buttons are removed, but the bar is not hidden. (Normal behaviour is for the soft key bar to slide off the screen shortly after going full screen)
This is on an LG Gpad 8.3" running stock 4.4.2 rom (obviously rooted).