WIP: render text using cache (debug only)