gkDelaySensor: fix delay and duration evaluating