Fix bug render UIcompoent