You have to focus on really being in time with the metronome. You are totally out of the timing. Put an accent on the first note of each string or each bar. Speed up your metronome to double (but not your playing) and focus that every other note is falling exactly in time with the click. You could also put the guitar aside and practice clapping your hands in sync with the metronome. Good luck!