fix a bug introduced when I merged my frame caching branch. Queue the