Update zoom when contents size changes