Fix timer running when it shouldn't be