Fixed small rendering bug in reference module