Enemy no longer continually moves when attacking and player is standing still