fixes the bottom bar being in the wrong places in the wrong time