working on fixing window edge blitting