Update Vector2.cpp

If magnitude is 0, that means x and y would also be 0 anyway.