wrong margin on canvas