Screen loop was inside an existing screen loop, in the body of a function used to initialize the toolbar region.
source/blender/io