drawing, simplify and remove a duplicate var

Authored by timotheegiet on May 13 2019, 4:31 PM.