Flash appears but for too long