Fixed an issue when selecting multiple canvases

Fixed an issue which would cause the right padding to be incremented
each time graphly was applied to an element using a single selector.
Merge pull request #1 from rastating/bug/class-selector

Fixed an issue when selecting multiple canvases