Mouse positing not updating while umg button is pressed

As the title says the mouse position I’m getting from player controller or pointer event data is not updating when button is pressed with the left mouse button. Position starts updating again when the button is released. I have setted the input mode to GameAndUI and I have also setted the SetHideCursorDuringCapture to false in the input mode. I have also setted the bShowMouseCursor to true in the player controller. I also tested with FInputModeUIOnly, but the results were the same.

Is this intended behaviour, bug or am I missing something?