fixes #3746 - Bug in overlay when using setSiteId with a string value