Wrong output: GetClampedToMaxSize(1.0f) not working

I had the same problem but in my case it returns a zero vector. The code was working prior to upgrading my PC from Intel to AMD. Is your PC an AMD?