Fixed a bug where bypassing the cache for 1 frame would keep bypassing the cache for all successive frame rendered