Found a better fix for the canvas image length being to long, and corrected its padding issue.