Hack around an issue where data gets added after the frame is thrown away