Toy motor interfering with display

If you have a scope meter attach it to the pins on the LCD. Check to see if the LCD is getting inadequate power and that is the reason it is not behaving properly. If that's the case, you should probably have some decoupling capacitors as close to the lcd as possible.