Fixed bug 15471549 to stop local player when casting