Modify canvas to use css borders.