attempts to get texture to wrap properly.