Note: original text by @Antonio Vazquez (antoniov)
Related to T55420, when I add a new tool to the toolbar, in this case 3D cursor tool to set cursor position, the tool is enabled, but the grease pencil draw operator capture the event before and instead to get a new position of the 3D cursor, what you get is a new stroke on screen.
