when some text is selected or the cursor somewhere, right-clicking is moving the cursor or deleting the selection. This is causing an unexpecting behaviour. Especially when considering actions in the context menu.
Expected result
Right click shouldn't interfer with cursor position