I might be late here, but you might have the top screen ribbon loose, not fully seated or slightly damaged.
There´s also the possibility of some other cable not routed correctly and applying pressure/tension over the ribbon.
Opening the lid applies a bit of strain, and if the connection is...