fix for touching legend header on iOS