Attempt to fix angular/ipad bug