improved text positioning for 3d