Small fix for Canvas renderer