Pulling click handling from ButtonLayer into Layer.