Fixed a subtle bug in setSize member function of array.