Issues with TFT LCD Touchscreen and Arduino mega

You have a regular "Mcufriend-style Uno Shield"
You have used pinMode() correctly after calling

ts.getPoint(); 

So the only obvious problem is

Adafruit_TFTLCD.h supports several different TFT controllers but perhaps it does not know your particular ID.

I suggest that you run all the library examples that come with Adafruit_TFTLCD

If your ID is not supported, install MCUFRIEND_kbv via the IDE Library Manager. It supports many more IDs.

David.