Issue with $ionicSlideBoxDelegate.update()

After $ionicSlideBoxDelegate.update(); is called, the view gets stretched.

How do I fix it?