Evolutionary tinkering with visual photoreception