Better implementation of control button phantom press detection.