Fixed wrong object being displayed in UI.