Fixed error with null widget in img migrator