Changed the size of canvas to see if the effect worked as intended. It does seem like it works without a problem