I have an application where I work with conic sections in the form
$$A x^{2} + B x y + C y^{2} + D x + E y + F = 0$$
In case a hyperbola, a straightforward way calculate its center, as I understand is
$$x_c = \frac{B E-2 C D}{4 A C -B^2}$$ $$y_c = \frac{B D-2 A E}{4 A C -B^2}$$
It had been working fine until recently, when I came across the following situation where the coefficients of the above curve are
A = -0.3309241482403108
B = -0.39325536339874551
C = -0.11618424089196536
D = 0.98578834911406965
E = -0.5076292198791521
F = 8.264829655812191
This is a hyperbola where the center, as calculated by the above equation, is at (-500.1698135428269, 844.291924015812)
As can be seen from the graph, this center is clearly wrong. More specifically, the $y$ coordinate of the center is way off and I don't really understand why. As far as I know, there are no conditions in the use of above equation for ellipses and hyperbolas. Can someone please explain to me what I am missing here?

