Fixed some annoying CSS bugs