fixed bugs with grid background updates