call updateDimensions after exit fullscreen