Fix camera resolution bug