Fixed ScanImage function.

Sorry :P Didnt saw it was the master :S Igen :)