Window centering does not work on ubuntu