MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
This reverts commit 1ef2b81041.
1ef2b81041
Fix sliders not moving with stacking changes