Nearly relatively compact projections in operator algebras