Fix camera input script.