It may help having a touch sensor in a clear place.
For example: the lampshade rather than underneath the lamp.