When the butterflies were exposed to constant light , they flew directly towards the sun , presumably because they no longer had any sense of time .