Fixed bug in array.toggleArrow