Reconnected the original implementation of the onButtonDown and onButtonReleased handlers to the events.