#WEB-11969 fixed
(cherry picked from commit 43dd80b)
r=ulitin