Fix a bug to get image on TNode. Compute image in TNode directly