Fix focus frame issue