Enabled frame caching to reduce memory usage