Bug fixes for widgets shadow.