I moved the implementation to the function `removeBlockingElementSpacers` like you suggested.