Fixed window resize binding error when reinitializing plugin on container