Fixing the BUG #19748: Sit.js doesn't handle overlays correctly.
Merge pull request #2972 from polac/19748

Fixing the BUG #19748: Sit.js doesn't handle overlays correctly.