fixed conversion to vec2.