MouseBehavior not working as intended?

I’m trying to make a custom mobile shift lock, but for some reason, MouseBehavior isn’t working as intended, after finding out you need to wrap it in a renderstepped function, I did so, but still won’t work.

function Force()
	UIS.MouseBehavior = Enum.MouseBehavior.LockCenter
end
if Configurations.Shiftlock.IsOn then RunService:BindToRenderStep("SHIFT", Enum.RenderPriority.First.Value, Force) else TurnOff() end