For the Canvas be sure to round your values, but it'll work there too.