An animation movie

It’s an animation movie, about a girl who lives in a mansion with her father, but the house is also a funeral home. This girl “raven” I think her name is, is very emo. This girl goes to a haunted house full of mirrors and finds out her best friend is kissing the guys she likes. She runs away and gets hit by a car and goes on this journey while dead