Fixed small rendering bug