fix user bar moves at window resize