Correctly store pointer to new state struct with screenhack framework on window resiz...