add display:inline-block to .canvas