Fix reset of the body background when switching to grid layout