fix disabling of occlusion culling from menu