Fixed silly uniform bug (passing a float instead of an int)