Fixes small main page display bug