Fixes position of the x closing button