Throw LastError in GetBinaryImage()
Temporary fix