Fix page title hang bug