move creating border to canvas initialize