Fix bug in preloading message display logic