Fixes a problem where progress was set to a float