Fix widget layout issues on dynamic screen size and other widget issues.