Don't floor() values that we cast to int

Doing so was a pointless step, since casting floats to ints implicitly
"floors" them.
Merge pull request #1078 from dorkster/fixes

Don't floor() values that we cast to int