(01.01.00.07) Attempt to make the rendering code a little bit smarter in deciding what to render first