Fixed broken "image paste" by exposing Resumable to window scope