Fix buffer pure mode regression.