Changing the grid width does not reset the number anymore

Signed-off-by: Guillaume George <guillaume.george@etu.utc.fr>