Fixed bug in drawAnimQuad