Fixed a bug in the ContentWriter.cs where when processing List<T> types

When processing the List<Rectangle> in a sprite font we get an error about the typewriter not existing. 
Changing this index lookup to be based on Type rather than instance fixes the issue