Fix Exception: "TypeError: topMenu is null"
Merge pull request #3190 from lestcape/master

Fix Exception: "TypeError: topMenu is null"