LCD based on Hitachi HD44780 - strange behavior

Try applying pressure to the metal frame surrounding the display and see if anything changes.

Don