Fixed the broken layer preRendering option !

(offset was not set in case the corresponding array entry was
undefined...)