widget layout corrections