Fixed visual bugs on permalink pages