You can make a floating scaffold block that doesn't need any blocks touching it, and by right clicking on it with other scaffold blocks you can move it around where ever you want.
I can send you a video of me making the glitch happen if you are interested, and i tried to post a video of me doing it but it was too large so I couldn't.
Environment
64-bit operating system. Newest Java version.
RAM: 16GB DDR4 (2,400MHz, PC4-2400, SODIMM)
Graphics: Nvidia GeForce GTX 1050 Ti (4GB GDDR5 RAM); Intel HD Graphics 630
CPU: 2.8GHz Intel Core i7-7700HQ (dual-core, 6MB cache, up to 3.8GHz)
Duplicate of MC-148795