Fixed some bugs in gloss display synchronization