Fixed issue with displaying number of columns in GridView after rotation