The actress issued an apology.