Fix viewer crash when initializing SessionView

Forgot to add the constraints parameter in the viewer when it was introduced, sorry!