It sounds better because you're doing mastering on it. Tracks will always sound better mastered.

The trick is to get the mix as good as you possibly can without putting anything on the master channel. Then when you master it you can get the best result possible.

Its a bit like putting the finishing touches on something you haven't finished building yet. Be patient, get the mix right then look at doing overall compression.