Fix bug with flash screen when top bar only coloured