Why are we casting this to float? I think I was the one that did this, but it shouldn't be needed.