Put an extra R to ground, so your Vin never hits "0". It doesn't take much, and it does limit your range a bit, but it allows you to detect when the input is there.