improve Frame Window Buffer helper