Use constant instead of "scratch" Upstream-commit: 3544d48ca1e673b6e7f5990431fe39a1d3803152 Component: engine