Impoved PsiElement creation to avoid buggy hiding from Logger.