Fix bad_cast exception when hitting creatures