Fix camera & wave function.