Add patch to fix bug# 1338614

Background resizing would fail due to a bad method call, and instead be
performed in the foreground and throw an error.