fix delayed enemy killing