Fix Win7 Aero frameless border shown on resize

Reference issue: https://github.com/atom/atom-shell/issues/734