round numbers so it renders better on canvas