Fix bugs in bottomBar and boardDrawn