BUG 1039326 fixed

Overlapping issue has been solved. Bugzilla link : https://bugzilla.mozilla.org/show_bug.cgi?id=1039326
Please merge this Pull Request