Spawn decal by dragging mouse

For some reason I had to double the grid size when getting the “anchor” position of the selection(the initial corner). Anyways, I managed to fix it and again thank you for the help!