Moved GetWindowSize function into CCPUtils class