Cleaned up stretchable image rendering