Fixed bug when rendering loose hidden fields