Added vec2, fixed keyboard input bug