Fixed NullPointerException on first access XRef View