Eeschema crashes in design block preview when hop-over wires enabled
<!-- --------Before Creating a New Issue-----------
* Limit report to a single issue.
* Search the issue tracker to verify the issue has not already been reported.
* Complete all instructions between `template comment markers <>.
* Keep report contents limited to the necessary information required to fix the issue.
* When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. -->
# Description
<!-- What is the current behavior and what is the expected behavior? -->
<!-- If the issue is visual/graphical, please attach screenshots of the problem. -->
<!-- Add the issue details below this line and before the "Steps to reproduce" heading. -->
Opening a schematic with design blocks panel visible (and an actual design blocks library configured, so it has an entry with a preview) and hop-over wire crossings enabled crashes eeschema with SIGSEGV in `SCH_PAINTER::draw(SCH_LINE const*, int)`.
Backtrace (relevant frames):
```
SCH_PAINTER::draw(SCH_LINE const*, int)
SCH_DESIGN_BLOCK_PREVIEW_WIDGET::DisplayDesignBlock()
PANEL_DESIGN_BLOCK_CHOOSER::onDesignBlockSelected()
```
Seems to be simply a regression due to an oversight in 99884f507a. The null-dereference bug that's hitting here code-wide existed before that, but was not reached due the the fact that the scale was not available on startup.
# Steps to reproduce
<!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. -->
<!-- If this issue is specific to a project, please attach the necessary files to this issue. -->
<!-- Add the steps to reproduce using the numbers below -->
<!-- Add new step numbers before the "KiCad Version" heading. -->
1. Use a working KiCad version (e.g. 10.0 stable) and make sure the design block pane is opened with a design block library configured.
2. Make sure hop-over is enable in schematic setup
3. Try to open a schematic with a build containing 99884f507a (e.g. master or 10.0.1-rc1) which introduced the `GetHopOverScale()` on-the-fly lookup. Crash
# KiCad Version
<!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. -->
```
Application: KiCad Schematic Editor arm64 on arm64
Version: 10.99.0-474-g3851787547, debug build
Libraries:
wxWidgets 3.2.8
FreeType 2.14.3
HarfBuzz 14.1.0
FontConfig 2.17.1
libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.68.0
Platform: macOS Version 26.4 (Build 25E246), 64 bit, Little endian, wxMac
OpenGL: Apple, Apple M4 Pro, 2.1 Metal - 90.5
Build Info:
Date: Apr 10 2026 09:20:13
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.90.0
OCC: 7.9.3
Curl: 8.7.1
ngspice: 45.2
Compiler: Clang 21.0.0 with C++ ABI 1002
Build settings:
KICAD_IPC_API=ON
KICAD_USE_PCH=OFF
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF
```
issue