UI porting issues with odd shapped window