When that happens to me I invest in a longer bit. Consider it an investment for current and future projects. With simple straight bits I used a template bushing plate insert and make templates that are smaller than the finish part by the difference between the router bit and the bushing diameters. Long straight bits are usually less expensive than long pattern bits. Always with a 1/2" shank.The straight bit I have has a 1 inch blade surface and can't do this.
GM1917