[PLAT-3106] Correctly rebuild grid state when view recompiles