Fix memory view not updating correctly.