There’s a fun diagnostic technique called “trash and bash”.
Make a copy of your app, confirm the problem occurs in the copy. The following operations can be done on the copy until the problem is gone or there are no more items left.
Delete HTML elements.
Delete other elements on the page.