Resolving setting grid background issue