The Compile window is laggy

Resizing the Compile window or scrolling the “Section Layouts” is choppy and slow, even when compiling just one small text file with one section type.