Fixing the bug where the game would crash if you right-click a untamed
dog.