Fixed the barriers UI issue.