Fixed problems with occlusion optimizations that was causing vertical
empty slices.