fix attribute resetting when preparing batch for rendering
tweak shader inputs