Fix setting texture on the cylinder end caps correctly.