Fix widget lazy loading (#13590)

Change-Id: I36c80d347b695335a4854d6913696f871070fd49