Change of while condition in hrender
Reverted the condition. Looping exiting problem.

The problem has to be worked around and then we shall bring the condition back.