Fixing issue where certain layouts were breaking the frontend editing position and size detection for overlays

Fix involves a more brute force approach where we scan every HTML element in search for the comment placeholders that we use for marking editor positions