Fixed annoying bug on first load.