Quickfix for a bug in the proximity sensor.