Fix splashscreen hide

Fixes #259552
Merge pull request #6 from Icenium/gospodinov/fixSplashscreenHide

Fix splashscreen hide