Are you using midi for the melody? Sounds like a latency issue. Is it half a beat late compared to the other tracks or playing back half a beat late to the on screen display?