[Fix] Event server code for remote mouse with event client protocol

Mouse function from event server is broken, this PR fixed it.