Find container on targetElement instead of document