Revert "Proximity sensor fix"

This reverts commit d6f10d2ac13e3c33997c6872e45479c33b73e499.