Fixed an issue where the frames should be cleared on each read.