[1030889] Added null check for computedStyle