diff --git a/src/Avalonia.Base/Input/PointerEventArgs.cs b/src/Avalonia.Base/Input/PointerEventArgs.cs
index 28a3c3aefb..beb953ce8f 100644
--- a/src/Avalonia.Base/Input/PointerEventArgs.cs
+++ b/src/Avalonia.Base/Input/PointerEventArgs.cs
@@ -77,14 +77,14 @@ namespace Avalonia.Input
///
/// Gets the pointer position relative to a control.
///
- /// The control.
+ /// The visual whose coordinate system to use. Pass null for toplevel coordinate system
/// The pointer position in the control's coordinates.
public Point GetPosition(Visual? relativeTo) => GetPosition(_rootVisualPosition, relativeTo);
///
/// Returns the PointerPoint associated with the current event
///
- /// The visual which coordinate system to use. Pass null for toplevel coordinate system
+ /// The visual whose coordinate system to use. Pass null for toplevel coordinate system
///
public PointerPoint GetCurrentPoint(Visual? relativeTo)
=> new PointerPoint(Pointer, GetPosition(relativeTo), _properties);
diff --git a/src/Avalonia.Controls/Primitives/Thumb.cs b/src/Avalonia.Controls/Primitives/Thumb.cs
index 5dd2bd067b..9854bdbea6 100644
--- a/src/Avalonia.Controls/Primitives/Thumb.cs
+++ b/src/Avalonia.Controls/Primitives/Thumb.cs
@@ -85,7 +85,7 @@ namespace Avalonia.Controls.Primitives
{
if (_lastPoint.HasValue)
{
- var point = e.GetPosition((Visual?)this.GetVisualRoot());
+ var point = e.GetPosition(null);
var ev = new VectorEventArgs
{
RoutedEvent = DragDeltaEvent,
@@ -100,7 +100,7 @@ namespace Avalonia.Controls.Primitives
protected override void OnPointerPressed(PointerPressedEventArgs e)
{
e.Handled = true;
- _lastPoint = e.GetPosition((Visual?)this.GetVisualRoot());
+ _lastPoint = e.GetPosition(null);
var ev = new VectorEventArgs
{
@@ -123,7 +123,7 @@ namespace Avalonia.Controls.Primitives
var ev = new VectorEventArgs
{
RoutedEvent = DragCompletedEvent,
- Vector = (Vector)e.GetPosition((Visual?)this.GetVisualRoot()),
+ Vector = (Vector)e.GetPosition(null),
};
RaiseEvent(ev);