It could possibly be your MIDI interface. I've had problems with recording in Cubase, where (with a five track song!) certain tones delayed or totally jammed! Also, you could be out of polyphony (happens quicker than you think, for example with the nice piano patch, which has a long delay!)