to make the set window rect ok for the detourmessage_emulation