I'm not sure, but it looks like you're treating m as a constant. However m="0/0" when you make the limit substitution (the function is not continuous there and thus you cannot do that). It has been long since I have reviewed multivariable limits, but I think this limit does not exist. Along the line y=-2 the limit is 1/3, but along the y axis it is 0.