Fixed issue with incorrect ordered initialization of desktop register and client hadnlers.