Fixed bug, such that bounds are changes and persisted when there is an
actual difference in the current bounds and the new bounds.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>