This check was backwards. Upstream-commit: 718e522c7124789cce120b77c96a420de971722c Component: engine