Wrong mouse offset when enabling the resize remote display option
By switching from "scale to window" to "resize remote display" option, the session image is wrongly scaled, mouse has a wrong offset and if the hardware decoding is being used and the desktop size is smaller than the client window size (because of physical desktop change resolution limitations), screen artifacts could be shown in the player window.
By changing the option to viewport mode and then back to resize mode, the remote desktop will be shown correctly.
