qtclient: fixed small messup when storing window positions