Fix syncing of resize