That’s not a ‘glitch’ that’s how creative mode works. It requires admin privileges to use, but lets you place anything that you have access to for free, enabling you to get creative and make great works of art.