Fixed slice breaking changes

Closes https://github.com/PistonDevelopers/image/issues/150