We no longer keep the active_vert value in a valid state when the cursor is not over the mesh. The helper method to access this position can thus result in incorrect behavior when storing and retrieving this value. In this case, we simply avoid setting the `UnifiedPaintSettings` values related to the last stroke, so that when it is used in `view3d_navigate.cc` it falls back to the object origin. Pull Request: https://projects.blender.org/blender/blender/pulls/128716