fix wrong order
draw textures