Make sure only one texture is created per image