Fixed CWindowsRenderer not correctly obtaining the vertical window size