Fixed CSS bugs after anchor refact