fixed bug in eyeimpl that generated a wrong image