Ctrl+Click on mesh or curve view was using the selected points location or the cursors. if either of these was behind the view it would add the point at (0, 0, 0). now fallback to the view orbit pivot, added this option as an argument to view3d_get_view_aligned_coordinate().