Scale the texture so that the shorter side fits the bounding rectangle. The other side clips to the node's limits.