clear the grid when we change from singleTile mode true to false or vice versa, discussed change with @ahocevar see #821 for the details