fix aspect_ratio computation from fovs, add casting for camerapositionwidget, trajectorywidget