Imagine pasting a 200 × 80 label onto a 1200 × 800 canvas. Select that label in Layers and show its boundary.
If a stroke ends exactly at the label edge, use Layers to Image Size to extend its editable area, or paint on a new canvas-sized transparent layer. If the boundary already spans the canvas, clear any active selection and retry a short stroke.