wxgui: Prevent a crash at displaying the tooltip when the graph is not yet populated (we divide by zero and create a NaN which is later causes a conversion exception)