Fix a correct onGLFWCharCallback

This modification had introduced a new bug. When I pressed the backspace key, it deleted twice. I will fix this issue in another PR.