fixed another overlay bug