Fixed a serious quad reuse bug