Addressed issue with path chaining in canvas implementation of graphics....

... Fix #1565

Ran unit tests for graphics and charts modules for ff26, chrome 32, safari 6.0.5, ie, 9, 10, 11. Android 2.4.3 (vm), Android 4.1.1 (vm). Did not test ie 6 - 8 as the change only affects canvas implementation.