fixed getElementById when structure is not finalized (before scene allocation)