Firefox and thunderbird not displaying correctly in remote desktop

When tab bar is black or the tabs are on the top of each other.

Disable Hardware acceleration.

Go to - about:preferences#advanced

forefox thunderbird display

Advanced settings - forefox thunderbird display