The following code will disable the default head light and create a light that is attached to the view. The difference here is that the view offsets won't be applied to the light.
Code:
light = viz.addLight()
viz.link(viz.MainView,light)
viz.MainView.getHeadLight().disable()