Fix an bug when clicked camera button