[Fixes bug #1191470] Fix bug with the paintbrush cursor not updating.