ok i re-intonated my guitar today, but something really weird happend. on the top E and B strings, the 12th fret will be sharperthan the 12th harmonic, but the 24th fret is flatter than the 24th harmonic. Every other string is fine

Can anyone explain this?

Just to mention, it's a floyd rose tremolo, which im sure is something to do with the problem.