fixed a bug that keyup bind not work.
Fixed a bug that for some midi keyboard never receive noteoff message.