Added option to flip sprites horizontally to drawTexturedQuad