Here are a few possible solutions you can try to stop the leg from sliding:
Furniture Grippers: You can buy furniture grippers, which are small pads that go underneath the legs of furniture to provide more friction and prevent sliding. These are available in many different sizes and shapes, and can be easily attached to the bottom of the bed leg. Look for grippers that are specifically designed for use on hard floors like granite.
Rubber Pads: Another option is to use rubber pads or discs underneath the bed leg. These can also be purchased at most hardware stores or online. The rubber material will help provide more grip and prevent sliding.
Anti-Slip Tape: Anti-slip tape is another option that can be used to increase friction between the bed leg and the floor. This tape has a rough surface that provides more traction, and can be easily cut to size and applied to the bottom of the bed leg.
Glue or Adhesive: If none of the above solutions work, you can try using a strong adhesive or glue to attach the bed leg to the floor. This should be a last resort, as it may damage the floor if you ever need to remove the bed in the future. Use a strong adhesive that is designed for use on plastic and granite surfaces.
Before trying any of these solutions, make sure the bed leg is straightened as much as possible to prevent any further bending. Good luck!