Neat, now I have a name for these. A lot of what is considered "bad writing" seems to consist of these "garden-path sentences", written unintentionally. Finding one of these in a text is a good indication that the author either didn't re-read what they wrote, or re-read it and couldn't step out of their own head to notice how confusing it is.