Fixing z-index bug with widgets