Fixed bug in initially hidden array not showing