Avoid style resolution when clearing focused element.