bugfix: window deviate from center after video expanded