Improved memory usage in overlay views.