fixed tab canvas render bug