fixed extra space in canvas wrapping