Fixed crash of NPC animator on wrong frames range