Create new subpath with origin after drawing rect …
Step 4 has been missing. https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-rect