glfw:Added event.preventDefault to onKeyPress

This is exactly what library_sdl does (if I'm not wrong).
It is useful to avoid scrolling with arrows.
Hope this doesn't break anything