Sprite editor: update titles of components when selecting direction.