fix WM_PAINT being called continuously by adding CPaintDC dc(this)
fixed an earlier mistake of assigning width to _windowHeight
call OnPaint after MouseMove and SetWindowSize