canvas add border, fix #9