don't put lines beyond canvas (#5106)
don't put lines beyond canvas (#5106)


Microsoft/pxt,switch-education/pxt,switch-education/pxt,Microsoft/pxt,Microsoft/pxt,switch-education/pxt,switch-education/pxt,Microsoft/pxt,switch-education/pxt,Microsoft/pxt