Added renderLag option