app: erroneously dereferencing paint_options
fixing commit 4d6640ff79ff13ae6d031da477a21c85119b2f15

(cherry picked from commit 50463d8d5ab6e15c4d5345769bae795e7becdff7)