[DF-542] fix wrong behaviour in case of scene switching in custom colors, visibility tool, ruler tool, hightmaptool, color tool