Corrected renderSpin bug