This is probably a poor connection or an electrical noise issue in the wires from the LCD to the Ramps board. Another forumite had a similar issue. The description of the problem further up that thread sounds very similar to what you’re experiencing…