fix window, menu, colorbox case
Merge pull request #202 from huangnoah/fix-7.0

fix window, menu, colorbox case