BUG: fix regression in Styler.export/use
- [x] closes #39735

#39396 solved a bug that CSS was duplicated everytime a Styler rendered. The solution maintained the computed `ctx` object and cleared the `_todo` list of methods so it wasn't recalculated. This broke the `export` and `use` methods since they rely on passing methods from the `_todo` list.

This PR solves the above duplication problem by clearing the `ctx` object before each `render`, maintaining the `_todo` from one render to another, and therefore fixes the broken methods. 
