Fix ctrl debug key not working when the hero's movement changes.