Add code to set resizingMask, passing test.