It's not really a bug. The loading screen behaves as intended: it is visible from the moment you click the icon until the application is launched and the folder is closed due to it no longer being visible. This behaviour is not suitable of course if you use a desktop file to launch a script, since there is no GUI.