I had that same problem with my mac book pro A1286. my screen was separated from body,
I used different kind of glue after couple of days again separated, Then i found this 3M™ Windo-Weld™ Super Fast Urethane, This is usually used to bond vehicle windscreen to body, its did my job well. first clean both parts , remove old glue . when you apply glue use a clam or similar kind
of heavy object on top until its cure, i kept 24 hours ,
its a rubbery glue can withstand heat and vibration ,[http://imageshack.com/i/ng8py1j]