Fixed CSS bugs