Revert recent changes to Item#rasterize() so pull request #150 can be merged.