fix internal pointers for window resize handler in review code