Fix replacement if widget could not load