Fix splashscreen hide

Fixes #259552

ping @zbranzov @Vlao85