add border on canvas