Possible fix for getLightValue calling rendering functions on a dedicated server