Fix critical bug, where invisible cells lose their layout (nil).