Invalidate accessibility elements when explicitly setting the layout frame.