Don't initialize lighting and lights unless they are enabled