Code

Fix minor breakage in grid preferences caused by pref refactoring.