Metronome Timing...

Cubase 8.5, MOTU Ultralite MK3 Hybrid, Mac OSX El Capitan 10.11.6. Akai MPD 218.

I’m having issues with timing when recording MIDI to a metronome into Cubase. Whenever I play notes in they are recorded early and I did some research which suggested that Cubase has an issue with MIDI recording i.e. MIDI notes being recorded early than played but when I play to a quantised hi hat track all new notes are recorded in are in time which would suggest that the metronome is playing it’s beeps too early. Anyway to offset the metronome track?