Class renders first in HTML