The bounds attribute was not being updated on a map resize event