Attempted to fix bug in InitInput, where game window become inactive.