#WEB-11428 fixed
(cherry picked from commit 11a8aab)
r=zolotov