Addressed issue with path chaining in canvas implementation of graphics. Fix #1565
Merge branch 'issue1565' into dev-master
Grahics build files.