Widget layout bug fix.