Fixed a repeating spash screen bug (spash screen only shows up once now).