Pass degrees from the viewer to the viewport. Fix #305