Fixed #194: Key callback is being fired twice.
In fact, this is just a performance optimization.