xfreerdp: better way of handling fp rounding issue for scaling