Thanks for reporting the bug! However, I have tried replicating this and cannot seem to do so. I put sand on my island and when I erased it all, the sand went back to the inventory. Could you send a screenshot or provide more details so that I can fix the problem.
Thanks a ton!