make background grid match with init size