Make sure view rendering is thread safe.