Localising the gamma-ray emission region of flaring Flat Spectrum Radio Quasars