If screen areas are swapped between windows this can cause an ASAN heap-use-after-free because of invalid screen->active_region pointer. That pointer is quickly reassigned as mouse movement indicates the active region, so just clear them for this operation. Pull Request: https://projects.blender.org/blender/blender/pulls/142877