super weird windows bug, had to switch code in renderer

Hopefully this doesn't affect the linux version