Fixed onload error in ivi app (issue #3476)