Fixed GameFrame constructor, adding StateManager second enum.