Fix title not changing from initial state