reportlab workaround

reportlab was failing on the second parsing of textfields due to stupid
use of global state. This resets the state.