- Fixed index out of range when not in play mode.