Correct widget patching