Just calculate the positions exactly as you did for the array.
Replace
(int(Random(2150)/48)*48, int(Random(12762)/48)*48)
with
(int(Random(2150)/32)*32 + 16, int(Random(12762)/32)*32 + 16)
That should do it.
btw, I'm experiencing problems with the platform behavior. Framerate drops down to 20-30 fps.