fixed window draw