Fix title removal to keep text at top level