The first 3 lines are the hack part, when I'll solve the dispose issue I'll remove them (I'll document this better in the code).