fix for crash in XAxis zoom functions