fixes incorrect sizing of poups
fixes NPE on calculateSelection
small fix to (partially) use flex-box