Fixed image bug

Closes https://github.com/PistonDevelopers/rust-graphics/issues/462