Fix stupid mistake where the texture was updated on every tick