Fix $digest already ongoing
Fix width not getting calculated when behind an ng-show