Mistake in boundingBox
Fix maximize/restore: transition properly