Fix widget hide