Fix buffer overflow in obj parser
Fix bouncing lights demo crash on windows