fixed some deadlocking due to the rendering thread wanting to push instructions