It won't work unless the brush is actually over the canvas. I can't see a reason for this.
Retrieving data ...