Fixed bug in DefineProjectionForTin