Replaced elements don't generate before / after CSS pseudo-elements