Fix settingwindow position error on up-down situation

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/1b7edff4f5194da69d4fe58850c21e4d/#9586950579a54996a4460789c084a698

Change-Id: I299a5dc91cd52aeb01ced1ac13d41370f2f0fff5