OO-737: hardened the method to prevent an exception in the renderBodyOnLoad (which is probably not usefull)