Fixing an issue with the 2-arg version of resize