resolution quality

Hello, I have a quality problem, when I connect remotely on Mac MacStuio using Apple Remote the quality is good, but when I use Teamviewer the quality is very poor, it even flashes from time to time... I didn't have that problem when I was using my MacPro.