Stopped blank images from being added to buffer