Fix out of bounds crash in MenuNPCActions