Fixed window draw error on PC