Fixed an error in the Init Function.

I was testing to see if our first window was < 0 when it should have
been tested against nullptr.