bugfix: the 1st window centerize otherwise random

tower:https://tower.im/projects/d4e0ff64158645f28d99a9ca72d0c27b/todos/d25a4d818cef4aeb8ac852099657998e/#beb7676ac34e4fd3a6e5c5357f379c48

Change-Id: I0e2b8db588091c4bc592058d2a1970986a338052