Fix bug in hasRotatedXAxisTicks check - was missing typeof