Fixed a bug with the css rendering