Fix bug introduced in previous commit.
Fix bug introduced in previous commit.

That causes crash draw tools after first draw op.

studiospring/uxbox,studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,uxbox/uxbox,uxbox/uxbox