Fixed bug where clock never checks last buffer.